﻿@model Whoever.Health.Website.Models.ContactViewModel

<div class="form-group">
    @Html.LocalizedLabelFor(model => model.Entity.Name)
    @Html.TextBoxFor(model => model.Filter.Name, new { @data_bind = "value: Name", @class = "form-control", @placeholder = @Html.LocalizedText("Contact.Name.PlaceHolder") })
</div>
<div class="form-group">
    @Html.LocalizedLabelFor(model => model.Entity.Name)
    @Html.TextBoxFor(model => model.Filter.Description, new { @data_bind = "value: Description", @class = "form-control", @placeholder = @Html.LocalizedText("Contact.Name.PlaceHolder") })
</div>
<div class="form-group">
    @Html.LocalizedLabelFor(model => model.Entity.Since)
    @Html.TextBoxFor(model => model.Filter.Since, new { @data_bind = "datepicker: Since", @class = "form-control", @placeholder = @Html.LocalizedText("Contact.Since.PlaceHolder") })
</div>
<div class="form-group">
    @Html.LocalizedLabelFor(model => model.ContactStatusSelectList)
    @Html.KOLocalizedSelectFor(model => model.ContactStatusSelectList, Model.ContactStatusSelectList, "Description", "Id", "StatusId")
</div>
<div class="form-group">
    @Html.LocalizedLabelFor(model => model.ContactTypeSelectList)
    @Html.KOLocalizedSelectFor(model => model.ContactTypeSelectList, Model.ContactTypeSelectList, "Name", "Id", "TypeId")
</div>
